<?php
 class DB{
	 public function conectar(){
	 $host="localhost";
	 $user="root";
	 $pass="123456";
	 $dbname="sistemalis";
	 
	 $conexao=@mysql_connect($host,$user,$pass);
	 $selectdb=mysql_select_db($dbname);
	 
	 return $conexao;
	 
	 
	 }
 }



?>